import { BasicColumn, FormSchema } from '@apps/antd-admin/src/components/Table';
import {render} from "@apps/antd-admin/src/hooks/render/renderUtils";


export const columns: BasicColumn[] = [
  {
    title: '商家名称',
    dataIndex: 'shopName',
    width: 100,
  },
  {
    title: '商家图片',
    dataIndex: 'shopImg',
    width: 100,
    customRender: render.renderImage,
  }
];

export const searchFormSchema: FormSchema[] = [
  {
    field: 'shopName',
    label: '商家名称',
    component: 'Input',
    colProps: { span: 12 },
  },
];
